Police in Switzerland are searching for a gunman who opened fire in a Zurich mosque during prayers, and wounding three people before fleeing.